package com.yizisu.basemvvm.mvvm.mvvm_helper

import android.view.View

/**
 * 若红楼梦空，亦初心不变
 * 作者：thinker
 * 包名：com.yizisu.basemvvm.mvvm.mvvm_helper
 * 时间：2019/7/9 13:46
 * 描述：防止快速点击事件监听
 */
class SingleClickListener(private val onSingleClick: Function1<View, Unit>) : OnSingleClickListener {
    override fun onSingleClick(view: View) {
        onSingleClick.invoke(view)
    }
}